﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WordFilterServiceTestPage.aspx.cs" Inherits="TestPages_WordFilterServiceTestPage" %>

<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        .auto-style2 {
            height: 82px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
        <h1>Word Filter Service</h1>
        <table style="width: 100%;" border="1">
            <tr>
                <td><b>Service Description</b></td>
                <td>The word filter service takes a string and removes all "stop words" from it.
                </td>
            </tr>
            <tr>
                <td><b>Service URL</b></td>
                <td><a href="http://10.0.2.143/WordFilterWCFService/Service1.svc">http://10.0.2.143/WordFilterWCFService/Service1.svc</a></td>
            </tr>
            <tr>
                <td><b>WSDL URL</b></td>
                <td><a href="http://10.0.2.143/WordFilterWCFService/Service1.svc?singleWsdl">http://10.0.2.143/WordFilterWCFService/Service1.svc?singleWsdl</a></td>
            </tr>
            <tr>
                <td class="auto-style2"><b>Methods</b></td>
                <td class="auto-style2">Method List. Format: <i>return type :: MethodName(parameter(s))</i>
                    <ul>
                        <li>string[]::WordFilter(string str)</li>
                    </ul>
                </td>
            </tr>
        </table>
        <h2>Service Test</h2>
        <p>
            <asp:TextBox ID="textToFormatTextBox" runat="server" Height="45px" Width="339px"></asp:TextBox>
            <asp:Button ID="submitButton" runat="server" OnClick="submitButton_Click" Text="Submit" />
        </p>
        
        <p id="output" runat="server">
            Filtered:&nbsp;&nbsp;
            <asp:Label ID="filteredLabel" runat="server"></asp:Label>
        </p>
    </form>
</body>
</html>
